/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package gpsmap;

import org.openstreetmap.osm.ConfigurationSection;
import org.openstreetmap.osm.data.IDataSet;
import org.openstreetmap.osmosis.core.domain.v0_6.Node;
import org.openstreetmap.osmosis.core.domain.v0_6.Relation;
import org.openstreetmap.osmosis.core.domain.v0_6.Way;
import org.openstreetmap.travelingsalesman.routing.IVehicle;

/**
 *
 * @author Pooyan Mobtahej
 */
public class WalkingSelector implements IVehicle  {

	public boolean isAllowed(IDataSet ids, Node node) {
		return true;
	}

	public boolean isReverseOneway(IDataSet ids, Way way) {
		return false;
	}

	public boolean isOneway(IDataSet ids, Way way) {
		return false;
	}

	public boolean isAllowed(IDataSet ids, Way way) {
		return true;
	}

	public boolean isAllowed(IDataSet ids, Relation rltn) {
		return  true;
	}

	public ConfigurationSection getSettings() {
		throw new UnsupportedOperationException("Not supported yet.");
	}

}
